﻿<%@ Page Language="C#" MasterPageFile="~/aspnet/admin/ForValidation.master" AutoEventWireup="true" CodeFile="CX_Iask_use_Show.aspx.cs" Inherits="aspnet_admin_bock_keyWord_CX_keyWord_Show" Title="编辑用户权限" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    &nbsp;<table align="center" border="0" cellpadding="2" cellspacing="1" class="border"
        height="116" width="100%">
        <tr align="center">
            <td class="topbg" colspan="2" style="height: 30px">
                搜索用户</td>
        </tr>
        <tr>
            <td class="tdbg" colspan="2" style="height: 27px">
                提示信息:<asp:Label ID="tt" runat="server" CssClass="font-4"></asp:Label></td>
        </tr>
        <tr>
            <td class="tdbg" style="height: 27px" width="223">
                搜索用户名称:</td>
            <td class="tdbg" style="width: 787px; height: 27px">
                <asp:TextBox ID="askuser_Name" runat="server" MaxLength="50"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdbg" colspan="2" style="height: 27px">
                <center>
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="搜索" /></center>
            </td>
        </tr>
    </table>
    <br />
    <asp:GridView id="GridView1"

     runat="server" CssClass="border" AllowPaging="True" PageSize="200" CellPadding="3" EmptyDataText="没有数据请添加" Width="100%" AutoGenerateColumns="False" DataKeyNames="askuser_id" OnPageIndexChanging="pagechange"
 ><Columns>
     <asp:TemplateField HeaderText="编号" InsertVisible="False" SortExpression="askuser_id">
         <EditItemTemplate>
             <asp:Label ID="Label1" runat="server" Text='<%# Eval("askuser_id") %>'></asp:Label>
         </EditItemTemplate>
         <ItemTemplate>
             <asp:Label ID="Label2" runat="server" Text='<%# Eval("askuser_id") %>'></asp:Label>
         </ItemTemplate>
         <HeaderStyle CssClass="topbg" Height="30px" HorizontalAlign="Center" />
         <ItemStyle CssClass="tdbg" HorizontalAlign="Center" VerticalAlign="Middle" />
     </asp:TemplateField>
        <asp:BoundField DataField="askuser_Name" HeaderText="名字" SortExpression="askuser_Name" >
                    <ItemStyle CssClass="tdbg" />
            <HeaderStyle CssClass="topbg" Height="30px" HorizontalAlign="Center" />
        </asp:BoundField>
     <asp:TemplateField HeaderText="用户昵称">
         <EditItemTemplate>
             <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
         </EditItemTemplate>
         <ItemStyle CssClass="tdbg" />
         <HeaderStyle CssClass="topbg" Height="30px" HorizontalAlign="Center" />
         <ItemTemplate>
             <asp:Label ID="Label1"  Text='<%#Eval("askuser_Name_li").ToString()%>' runat="server"></asp:Label>&nbsp;
         </ItemTemplate>
     </asp:TemplateField>
        
        <asp:BoundField DataField="askuser_Sort" HeaderText="用户排序" SortExpression="askuser_Sort" >
               <ItemStyle CssClass="tdbg" />
            <HeaderStyle CssClass="topbg" Height="30px" HorizontalAlign="Center" />
        </asp:BoundField>
     <asp:TemplateField HeaderText="操作" ShowHeader="False">
         <ItemStyle CssClass="tdbg" />
         <HeaderStyle CssClass="topbg" Height="30px" HorizontalAlign="Center" />
         <ItemTemplate>
         
              <a href="CX_Iask_use_Edit.aspx?id=<%#Eval("askuser_id") %>"> 编辑 <%#Eval("askuser_Name")%> 数据</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
              
              
              <a href="Cx_Iask_Old.aspx?id=<%#Eval("askuser_id") %>"> 还原 <%#Eval("askuser_Name")%> 的密码</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

           <a href="javascript:Del('CX_Iask_use_Del.aspx?id=<%#Eval("askuser_id") %>','<%#Eval("askuser_Name")%>');"> 删除</a>
           
         

              
         </ItemTemplate>
     </asp:TemplateField>
</Columns>

<PagerStyle CssClass="tdbg" HorizontalAlign="Center" Font-Size="9pt" Font-Underline="False"></PagerStyle>
</asp:GridView>
    &nbsp;
</asp:Content>

